package model
{
	import interfaces.IUtilisateur;
	
	public class Eleve implements IUtilisateur
	{
		//propriétés
		private var _id:int;
		private var _nom:String;
		private var _prenom:String;
		private var _identifiants:Identifiant;
		private var _coordonnees:Coordonnee;
		private var _dateNaissance:Date;
		
		//constructeur
		public function Eleve(pNom:String,pPrenom:String,pCoordonnees:Coordonnee=null,pDateNaissance:Date=null)
		{
			//TODO: implement function
		}
		
		//accesseurs
		public function get Id():int
		{
			return this._id;
		}
		public function set Id(pValue:int):void
		{
			this._id = pValue;
		}
		public function get Nom():String
		{
			return this._nom;
		}
		public function set Nom(pValue:String):void
		{
			this._nom = pValue;
		}
		
		public function get Prenom():String
		{
			return this._prenom;
		}
		
		public function set Prenom(pValue:String):void
		{
			this._prenom = pValue;
		}
		
		public function get Identifiants():Identifiant
		{
			return this._identifiants;
		}
		
		public function set Identifiants(pValue:Identifiant):void
		{
			this._identifiants = pValue;
		}
		
		public function get Coordonnees():Coordonnee
		{
			return this._coordonnees;
		}
		
		public function set Coordonnees(pValue:Coordonnee):void
		{
			this._coordonnees = pValue;
		}
		
		public function get DateNaissance():Date
		{
			return this._dateNaissance;
		}
		
		public function set DateNaissance(pValue:Date):void
		{
			this._dateNaissance = pValue;
		}

		//fonctions
		public function ajouter(pUser:IUtilisateur):Boolean
		{
			//TODO: implement function
			return false;
		}
		public function modifier(pId:int, pUser:IUtilisateur):Boolean
		{
			//TODO: implement function
			return false;
		}
		public function supprimer(pId:int):Boolean
		{
			//TODO: implement function
			return false;
		}
		public function rechercher(pId:int):Eleve
		{
			//TODO: implement function
			return null;
		}
		public function lister():IUtilisateur
		{
			//TODO: implement function
			return null;
		}
	}
}